import {Component} from '@angular/core';
import {IonicPage, NavController, NavParams} from 'ionic-angular';
import {AddressDetails} from "../../models/AddressDetails";

/**
 * Generated class for the OrderDetailsPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */

@IonicPage()
@Component({
    selector: 'page-order-details',
    templateUrl: 'order-details.html',
})
export class OrderDetailsPage {
    addressDetails: AddressDetails[];

    constructor(public navCtrl: NavController, public navParams: NavParams) {
       this.addressDetails=[{
           orderNumber:'3214569874123654488999',
           methodPayment:"在线支付",
           orderTime:"2018-04-17 14:23"
       }]
    }

    ionViewDidLoad() {
        console.log('ionViewDidLoad OrderDetailsPage');
    }

}
